﻿using System.Collections.Generic;

namespace Model.Entities
{
    public class Interest : BaseEntity
    {
        #region Private Fileds

        private IList<User>     _users  = new List<User>();
        private IList<Group>    _groups = new List<Group>();

        #endregion

        public virtual string   Title   { get; set; }
        public virtual Interest Parent  { get; set; }

        public virtual IList<User> Users
        {
            get { return _users;  }
            set { _users = value; }
        }

        public virtual IList<Group> Groups
        {
            get { return _groups;  }
            set { _groups = value; }
        }
    }
}
